package com.wujing.scala.first6Day

/**
 * while 循环
 *
 */
object WhileDemo {
  def main(args: Array[String]): Unit = {
    //打印十遍hello

    //注意点

    var i=0
    while (i < 10){
      println("hello world"+i)
      i += 1
    }
  }
}
